<?php
	
	session_start();
	require("connect.php");
	$link = connect_APO();
	
	$type= $_SESSION['type'];
	
	if (!session_is_registered('ID')) :
		header('Location: login.php');
	endif;
	
	if ($type != 'coordinator'){
		header('Location: index.php');
	}
	
	$number = $_POST['number'];
	
	echo "<html>
	<head>
		<meta http-equiv='refresh' content='0; URL=addUser.php?numNew=$number'>
	</head>";
	
	mysql_close($link);
	
?>